<!-- index.php -->
<?php
	header("Content-type: text/html; charset=utf-8");
	$c = isset($_GET['c'])?$_GET['c']:'index';
	$m = isset($_GET['m'])?$_GET['m']:'index';
	$clsname = ucfirst($c).'Controller';//单词首字母大写
	//var_dump($clsname);
	require "Controller/$clsname.php";
	$indexCtrl = new $clsname();
	$result=$indexCtrl->$m();
	//$userCtrl = new UserController();
	//$data = $userCtrl->listusers();
 ?>